package com.geekarchitect.patterns.visitor.geek.v1;

/**
 * PPT file
 *
 * @author Hongliang Zhu
 * @create 2023-01-07 21:04
 */
public class PPTFile extends ResourceFile {
    public PPTFile(String filePtah) {
        super(filePtah);
    }

    @Override
    public void extract2txt() {
        //...省略一大坨从PPT中抽取文本的代码...
        // ...将抽取出来的文本保存在跟filePath同名的.txt文件中...
        System.out.println("Extract PPT.");
    }
}
